package com.zjc.yohoshop.di.modules;

import com.zjc.yohoshop.mvp.contract.AffirmOrderFragmentContract;
import com.zjc.yohoshop.mvp.model.AffirmOrderFragmentModel;

import dagger.Module;
import dagger.Provides;

@Module
public class AffirmOrderFragmentModules {
    private AffirmOrderFragmentContract.AffirmOrderFragmentIView iView;

    public AffirmOrderFragmentModules(AffirmOrderFragmentContract.AffirmOrderFragmentIView iView) {
        this.iView = iView;
    }

    @Provides
    public AffirmOrderFragmentContract.AffirmOrderFragmentIView providerIView(){
        return iView;
    }

    @Provides
    public AffirmOrderFragmentContract.AffirmOrderFragmentIModel providerIModel(){
        return new AffirmOrderFragmentModel();
    }

}
